Release 10.1A: OpenEdge Deployment:
Startup Command and Parameter Reference
Log Entry Types (-logentrytypes)
Use Log Entry Types (
-logentrytypes) to specify one or more types of log entries to write to the log file specified by the Client Logging (-clientlog) startup parameter.
Operating system
and syntax UNIX
Windows-logentrytypesstring Use
with Maximum value Minimum value Single-user default Multi-user default Client Session – – – –
stringA character string that specifies a comma-separated list of log entry types.
By default, the logging level you specify using the Logging Level (-logginglevel) startup parameter applies to all log entry types specified. However, you can specify a different logging level for each entry type, as follows:
log-entry-typeA log entry type listed in Table 4–2 below.
levelA logging level value (between 0 and 4).
Table 4–2 describes the log entry types.
Table 4–2: Log entry types Log entry type Executable Description 4GL (GUI and character mode). AppServer and WebSpeed do not require this log entry type for 4GL messages to be written to the log file. The 4GL interpreter writes all 4GLVIEW-ASALERT-BOXmessages to the log file, together with the 4GL stack, when you turn on Debug Alert, using either the Debug Alert (-debugalert) startup parameter or theDEBUG-ALERTattribute on theSESSIONsystem handle. 4GL clients, AppServer, and WebSpeed agents. Turns on logging for the execution of internal procedures, user-defined functions, persistent user-interface triggers, and named events (generated by theRUN,FUNCTION,PUBLISH, andSUBSCRIBEstatements, respectively). It also logs the instantiation of classes (generated by theNEWstatement) and the invocation of methods defined within classes (generated by theSUPERmethod and theDELETE OBJECTstatements). AIA. Turns on logging for the AIA component. AppServer agent. Combines theASPlumbingandDB.Connectslog entry types. It is the default value for AppServer agents. AppServer agent. Turns on logging for different actions, depending on the logging level specified. 4GL clients, AppServer, and WebSpeed agents. Turns on logging of database connections and disconnections. The log messages include database name and user ID number. 4GL clients, AppServer, and WebSpeed agents.4GL clients and WebSpeed agents. Turns on logging for creation and deletion of database objects, dynamic objects, user interface objects, and classes. 4GL clients, AppServer, and WebSpeed agents. Turns on logging for file opening, file closing, and error messages that do not contain the filename. WebSpeed Messengers. Turns on logging for WebSpeed Messengers. The information logged depends on which Messenger is running and the logging level specified. NameServer. Turns on logging for the NameServer component. 4GL clients, AppServer, and WebSpeed agents. Turns on event logging for different categories of events. 4GL clients, AppServer, and WebSpeed agents. Turns on logging for query resolution statistics. 4GL clients, AppServer, and WebSpeed agents. Turns on logging for the SAX parser. Unified Broker. Turns on logging for the Unified Broker component. Web Services Adapter (WSA) Turns on logging for the Web Services Adapter component.
For more information about log entry types, see OpenEdge Development: Debugging and Troubleshooting .
The following example shows how to specify one or more individual log entry types:
The following example shows how to specify all log entry types within a category:
For more information about logging levels and log entry types, see OpenEdge Development: Debugging and Troubleshooting .
You also can turn on logging at run-time by using the LOG-ENTRY-TYPES attribute on the
LOG-MANAGERsystem handle. For example, you can include the following line in your 4GL code:
You can turn off logging in your 4GL code by setting this attribute to the Unknown value (
?). For example:
For more information about the LOG-ENTRY-TYPES attribute or the
LOG-MANAGERsystem handle, see the OpenEdge Development: Progress 4GL Reference .
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |